negotiator.boaframework.offeringstrategy.other
Class Random_Offering

java.lang.Object
  extended by negotiator.boaframework.OfferingStrategy
      extended by negotiator.boaframework.offeringstrategy.other.Random_Offering

public class Random_Offering
extends OfferingStrategy

This class implements the Simple Agent a.k.a. Zero Intelligence, Random Walker offering strategy. This will choose a bid at random to offer the opponent. This strategy has no straightforward extension of using opponent models.

Author:
Alex Dirkzwager, Mark Hendrikx

Field Summary
 
Fields inherited from class negotiator.boaframework.OfferingStrategy
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel
 
Constructor Summary
Random_Offering()
          Empty constructor used for reflection.
 
Method Summary
 BidDetails determineNextBid()
          Determines the next bid the agent will offer to the opponent
 BidDetails determineOpeningBid()
          Determines the first bid to be offered by the agent
 
Methods inherited from class negotiator.boaframework.OfferingStrategy
endSession, getHelper, getNextBid, init, isEndNegotiation, loadData, setNextBid, storeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Random_Offering

public Random_Offering()
Empty constructor used for reflection. Note this constructor assumes that init is called next.

Method Detail

determineNextBid

public BidDetails determineNextBid()
Description copied from class: OfferingStrategy
Determines the next bid the agent will offer to the opponent

Specified by:
determineNextBid in class OfferingStrategy
Returns:
bid to offer to the opponent.

determineOpeningBid

public BidDetails determineOpeningBid()
Description copied from class: OfferingStrategy
Determines the first bid to be offered by the agent

Specified by:
determineOpeningBid in class OfferingStrategy
Returns:
the opening bid of the agent.